//
//  FirrstXibViewController.m
//  11--Xib
//
//  Created by 冀永金 on 16/7/28.
//  Copyright © 2016年 冀永金. All rights reserved.
//

#import "FirrstXibViewController.h"

@interface FirrstXibViewController ()
// 签订代理,指定代理人, 实现协议方法,
// 指定代理人, 在Xib中可以通过控件向 File's Owner 去指定
// 相当于 self.userTextField.delegate
// 只需要签订代理, 实现代理方法

// 只需要签订代理
// 实心关联了  空心未关联
@property (weak, nonatomic) IBOutlet UIImageView *HeardImage;
// Xib/SB 中控件与VC/自定义Cell 关联后，如果属性被删除，对应关联的控件也要删除
// 如果控件非常多 出现无问题   无从下手
// 查看崩溃信息
@end

@implementation FirrstXibViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.HeardImage.layer.cornerRadius = self.HeardImage.frame.size.width / 2;
    self.HeardImage.clipsToBounds = YES;
    // Do any additional setup after loading the view from its nib.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
